#coding=utf-8
'''为应用程序users 定义URL'''

from django.conf.urls import include, url
from django.contrib.auth.views import login

from . import views

urlpatterns = [
    #登录页面
    url(r'^login/$', login,
        { 'template_name':'users/login.html' },
        name='login'),
    url(r'^logout/$',views.logout_view,name='logout'),
    url(r'^register/$',views.register,name='register'),
]
